.class public Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;
.super Landroid/widget/LinearLayout;


# instance fields
.field private a:Landroid/content/Context;

.field private b:Landroid/view/View;

.field private c:Landroid/view/View;

.field private d:Landroid/view/View;

.field private e:Lcom/waiqin365/base/login/mainview/CircleImageView;

.field private f:Landroid/widget/TextView;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/widget/TextView;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 0

    invoke-direct {p0, p1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object p1, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->a:Landroid/content/Context;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->a()V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 0

    invoke-direct {p0, p1, p2}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iput-object p1, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->a:Landroid/content/Context;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->a()V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 0

    invoke-direct {p0, p1, p2, p3}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    iput-object p1, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->a:Landroid/content/Context;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->a()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->a:Landroid/content/Context;

    const v1, 0x7f03001e

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->b:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->b:Landroid/view/View;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->b:Landroid/view/View;

    const v1, 0x7f0c00be

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->c:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->b:Landroid/view/View;

    const v1, 0x7f0c00c4

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->d:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->b:Landroid/view/View;

    const v1, 0x7f0c00bf

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/mainview/CircleImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->e:Lcom/waiqin365/base/login/mainview/CircleImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->b:Landroid/view/View;

    const v1, 0x7f0c00c0

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->f:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->b:Landroid/view/View;

    const v1, 0x7f0c00c2

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->g:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->b:Landroid/view/View;

    const v1, 0x7f0c00c3

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->h:Landroid/widget/TextView;

    return-void
.end method

.method public a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 3

    const/16 v2, 0x8

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->a:Landroid/content/Context;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->e:Lcom/waiqin365/base/login/mainview/CircleImageView;

    invoke-static {v0, v1, p1}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;Landroid/widget/ImageView;Ljava/lang/String;)V

    invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->f:Landroid/widget/TextView;

    invoke-virtual {v0, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    invoke-static {p3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->g:Landroid/widget/TextView;

    invoke-virtual {v0, p3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_1
    invoke-static {p4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->h:Landroid/widget/TextView;

    invoke-virtual {v0, p4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_2
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->f:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_1

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->h:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_2
.end method

.method public a(Z)V
    .locals 2

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->c:Landroid/view/View;

    if-eqz p1, :cond_0

    const/4 v0, 0x0

    :goto_0
    invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V

    return-void

    :cond_0
    const/16 v0, 0x8

    goto :goto_0
.end method

.method public b(Z)V
    .locals 2

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->d:Landroid/view/View;

    if-eqz p1, :cond_0

    const/4 v0, 0x0

    :goto_0
    invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V

    return-void

    :cond_0
    const/16 v0, 0x8

    goto :goto_0
.end method
